/***测试专用***/
// import '@Test/bx/index.js'
/***Example***/
// import '@Example/index.js'

import Vue from 'vue'
/***引入全局通用过滤器***/
import '@/filters/index.js'
/***引入指令文件***/
import '@/directives/index.js'
/***引入全局通用组件***/
import '@/components/UIComponents.js'
/***引用plugins***/
/***引入路由文件***/
import router from '@/router/router.js'
/***引入vuex文件***/
import store from '@/store/store.js'
/***引入i18n文件***/
import i18n from '@/i18n/index.js'
/***引入入口页面***/
import AppContainer from '@/containers/AppContainer.vue'
//引入vueWebsocked
//import socket from "vue-websocket";

//Vue.use(socket);
/***全局配置配置***/
// axios请求配置
import '@/utils/request/request.js'
//引入swiper
import VueAwesomeSwiper from 'vue-awesome-swiper'
Vue.use(VueAwesomeSwiper)
/***引入公共样式文件***/
// 引入全局样式文件
import '@/asserts/styles/global.scss'
import '@/asserts/styles/const.scss'
import '@/asserts/styles/overwrite.scss'
// 引入全局媒体查询文件
// import '@/asserts/styles/media.scss'


/***创建根实例***/
const app = new Vue({
    data: {
        bus: new Vue()
    },
    i18n,
    store,
    router,
//  socket,
    render: h => h(AppContainer),
}).$mount('#app')

//
//var script=document.createElement("script");
//script.setAttribute("type", "text/javascript");
//script.setAttribute("src", "JustWalking.js");


//window.onload=function(){
//	var Oscript = document.createElement('script');
//	Oscript.setAttribute("type", "text/javascript");
//	Oscript.setAttribute("src", "https://static.zdassets.com/ekr/snippet.js?key=4863009b-6c5e-46ca-b9ab-b53fe6cc49d1");
//	
//	setTimeout(function(){
//		var heads = document.getElementsByTagName("head");
//	if(heads.length)
//		heads[0].appendChild(Oscript);
//	else
//		document.documentElement.appendChild(Oscript);
//		console.log('script')
//	},4000)
//}
